package com.springboot.repository;

import com.springboot.entity.Administrator;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author: lzh
 */
public interface AdministratorRepository extends JpaRepository<Administrator, Integer>, JpaSpecificationExecutor<Administrator> {
    Administrator findByUsername(String username);
}
